<?php
class StudentController{
	public function index(){
		//echo'我是student控制器的index（）方法'
		require APP_PATH . 'StudentModel.php';
		$model = new StudentModel();
		$data = $model->getAll();
		//var_dump($data);
		require VIEW_PATH . 'student.php';//引入视图文件
	}
}